home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / prog / ixe130.zip / BUILD.BAT next >
DOS Batch File  |  1993-05-10  |  1KB  |  58 lines

  1. @echo off
  2. rem build.bat
  3.  
  4. if i%1 == P5 goto buildP5
  5. if i%1 == i586 goto build586
  6. if i%1 == i486 goto build486
  7. if i%1 == i386 goto build386
  8. if i%1 == i286 goto build286
  9. if i%1 == i186 goto build186
  10. if i%1 == i086 goto build086
  11. if i%1 == i088 goto build088
  12. if i%1 == iTRS80 goto buildTRS80
  13.  
  14. :syntax
  15. echo usage is: build [cpu]
  16. echo.
  17. echo [cpu] processor type : 088,086,186,286,386,486,586,P5,TRS80
  18. echo.
  19. echo example:
  20. echo.
  21. echo  build 386
  22. echo.
  23. goto end
  24.  
  25. :buildTRS80
  26. echo "You've got to be kidding?!"
  27. goto end
  28.  
  29. :build088
  30. :build086
  31. bcc -ml -c -B ixeblit.c
  32. bcc -ml -Di086 -1- ixetest.c ixeblit.obj
  33. ixe sphere*.pan -i16
  34. goto end
  35.  
  36. :build186
  37. bcc -ml -c -B ixeblit.c
  38. bcc -ml -Di186 -1 ixetest.c ixeblit.obj
  39. ixe sphere*.pan -i16
  40. goto end
  41.  
  42. :build286
  43. bcc -ml -c -B ixeblit.c
  44. bcc -ml -Di286 -2 ixetest.c ixeblit.obj
  45. ixe sphere*.pan -i16
  46. goto end
  47.  
  48. :buildP5
  49. :build586
  50. :build486
  51. :build386
  52. bcc -ml -c -B ixeblit.c
  53. bcc -ml -Di386 -3 ixetest.c ixeblit.obj
  54. ixe sphere*.pan -i32
  55.  
  56. :end
  57.  
  58.